﻿<%@ Page Title="Orden de Servicio" Language="C#" MasterPageFile="~/Site2.master" AutoEventWireup="true" CodeFile="ResultadoOser.aspx.cs" Inherits="ResultadoOser" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
 

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" Runat="Server">


    <form id="form1" runat="server">

      <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager>
    <h1> Avance de Orden de servicio</h1>
    <p> 
            <asp:Label ID="lblMensaje" runat="server" ForeColor="#CC0000"></asp:Label>
        </p>

    <table >
      <tr >
        <td align ="right" >&nbsp;</td>
        <td><asp:HiddenField ID="HiddenField1" runat="server" /></td>
      </tr>
    </table>
    
      <br />
      <table style="width: 100%">
          <tr>
              <td>
                  Folio</td>
              <td style="width: 240px">
                  <asp:TextBox ID="Folio" runat="server"></asp:TextBox>
              </td>
              <td>
                  &nbsp;</td>
              <td style="width: 129px">
                  &nbsp;</td>
              <td style="text-align: right; width: 129px;">
                  Fecha Orden</td>
              <td>
                  <asp:TextBox ID="FechaOrden" runat="server"></asp:TextBox>
              </td>
          </tr>
          <tr>
              <td style="height: 24px">
                  Cliente</td>
              <td style="width: 240px; height: 24px;">
                  <asp:TextBox ID="Cliente" runat="server" Width="200px"></asp:TextBox>
              </td>
              <td style="height: 24px">
                  Empresa:</td>
              <td style="height: 24px; width: 129px;">
                  <asp:TextBox ID="Empresa" runat="server"></asp:TextBox>
              </td>
              <td style="height: 24px; text-align: right; width: 129px;">
                  Fecha Requerida&nbsp;de:</td>
              <td style="height: 24px">
                  <asp:TextBox ID="FechaRequerida" runat="server"></asp:TextBox>
                  <asp:CalendarExtender ID="FechaExtender" runat="server" TargetControlID = "FechaRequerida" Format="yyyy-MM-dd"  CssClass="cal_Theme1"> </asp:CalendarExtender>
                <asp:RegularExpressionValidator ID="Fecha" runat="server" 
                      ErrorMessage="La fecha debe tener un formato AAAA-MM-DD" 
                      ValidationExpression="\d\d\d\d.\d\d.\d\d" ControlToValidate="FechaRequerida" 
                      Display="None"></asp:RegularExpressionValidator>
               <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender9" runat="server" TargetControlID="Fecha" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
              </asp:ValidatorCalloutExtender>
              </td>
          </tr>
          <tr>
              <td>
                  Solicita</td>
              <td colspan="3">
                  <asp:TextBox ID="TotalVacantes" runat="server" Height="20px" Width="47px"></asp:TextBox>
                  <asp:DropDownList ID="IdPuesto" runat="server" Width="300px">
                  </asp:DropDownList>
              </td>
              <td style="text-align: right; width: 129px;">
                  a:</td>
              <td>
                  <asp:TextBox ID="FechaReqFinal" runat="server"></asp:TextBox>
                  <asp:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID = "FechaReqFinal" Format="yyyy-MM-dd"  CssClass="cal_Theme1"> </asp:CalendarExtender>
                <asp:RegularExpressionValidator ID="Req" runat="server" 
                      ErrorMessage="La fecha debe tener un formato AAAA-MM-DD" 
                      ValidationExpression="\d\d\d\d.\d\d.\d\d" ControlToValidate="FechaReqFinal" 
                      Display="None"></asp:RegularExpressionValidator>
               <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender1" runat="server" TargetControlID="Req" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
              </asp:ValidatorCalloutExtender>
              </td>
          </tr>
      </table>
    <table>
        <tr class="td2">
        <td>
      
      <ul class="tabs">
        <li><a href="#tab1">Solicita</a></li>
        <li><a href="#tab2">Datos</a></li>
        <li><a href="#tab3">Salario y prestaciones</a></li>
        <li><a href="#tab4">Preseleccionados</a></li>
        <li><a href="#tab5">Status de Orden</a></li>
        <li><a href="#tab6">Blog</a></li>
        <li><a href="#tab7">Preseleccionar</a></li>
      </ul>
       <div class="tab_container">
        <div id="tab1" class="tab_content">
         
            <table style="width: 700px">
                <tr class="td1">
                    <td style="width: auto;">
                        Fecha estimada contratación</td>
                    <td style="text-align: left">
                        <asp:TextBox ID="FechaEstimada" runat="server"></asp:TextBox></td>
                    <td style="text-align: right">
                        Fecha estimada Termina Contrato</td>
                    <td colspan="2">
                        <asp:TextBox ID="FechaEstimadaF" runat="server"></asp:TextBox></td>
                </tr>
                <tr class="td2">
                    <td style="width: auto;">
                        Sexo</td>
                    <td style="text-align: left">
                        <asp:DropDownList ID="sexo" runat="server">
                            <asp:ListItem>Masculino</asp:ListItem>
                            <asp:ListItem>Femenino</asp:ListItem>
                            <asp:ListItem>Indistinto</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <td style="text-align: right">
                        Rango De Edad:</td>
                    <td style="text-align: left">
                        <asp:TextBox ID="EdadMinima" runat="server" Width="50px"></asp:TextBox></td>
                    <td style="text-align: left">
                        <asp:TextBox ID="EdadMaxima" runat="server" Width="50px"></asp:TextBox>
                    </td>
                </tr>
                <tr class="td1">
                    <td style="width: auto;">
                        Estado Civil:</td>
                    <td style="text-align: left">
                        <asp:TextBox ID="EstadoCivil" runat="server"></asp:TextBox>
                    </td>
                    <td style="text-align: right">
                        Talla y Estatura</td>
                    <td style="text-align: left">
                        <asp:TextBox ID="Talla" runat="server" MaxLength="15" Width="60px"></asp:TextBox>
                    </td>
                    <td style="text-align: left">
                        <asp:TextBox ID="Estatura" runat="server" Width="60px" style="text-align: left"></asp:TextBox>
                    </td>
                </tr>
                <tr class="td2">
                    <td style="width: auto;">
                        Escolaridad</td>
                    <td style="text-align: left">
                        <asp:TextBox ID="Escolaridad" runat="server"></asp:TextBox>
                    </td>
                    <td style="text-align: right">
                        Título</td>
                    <td colspan="2" style="text-align: left">
                        <asp:TextBox ID="Titulo" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr class="td1">
                    <td style="width: auto;">
                        Idiomas</td>
                    <td style="text-align: left">
                        <asp:TextBox ID="Idiomas" runat="server"></asp:TextBox>
                    </td>
                    <td style="text-align: right">
                        Otra</td>
                    <td colspan="2" style="text-align: left">
                        <asp:TextBox ID="Otros" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td style="width: auto;">
                        Experiencia</td>
                    <td style="text-align: left">
                        <asp:TextBox ID="Experiencia" runat="server"></asp:TextBox>
                    </td>
                    <td style="text-align: right">
                        Tiempo</td>
                    <td colspan="2" style="text-align: left">
                        <asp:TextBox ID="Tiempo" runat="server" Width="50px"></asp:TextBox>
                    &nbsp;años</td>
                </tr>
                <tr class="td2">
                    <td style="width: auto;">
                        Habilidades y conocimientos</td>
                    <td colspan="4" style="text-align: left">
                        <asp:TextBox ID="Habilidades" runat="server" style="text-align: left" 
                            Width="370px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td style="width: auto;">
                        &nbsp;</td>
                    <td colspan="4" style="text-align: left">
                        <asp:TextBox ID="Conocimientos" runat="server" style="text-align: left" 
                            Width="377px"></asp:TextBox>
                    </td>
                </tr>
                <tr class="td2">
                    <td style="width: auto;" class="td2">
                        &nbsp;</td>
                    <td colspan="4" style="text-align: left">
                        <asp:TextBox ID="SoftwareManejar" runat="server" Width="377px" 
                            style="text-align: left"></asp:TextBox>
                    </td>
                </tr>
            </table>
         
        </div>
        <!--tab_content end-->
        <div id="tab2" class="tab_content">
        
            <table style="width: 700px">
                <tr>
                    <td>
                        Actividades</td>
                    <td colspan="3" style="text-align: left">
                        <asp:TextBox ID="Actividades" runat="server" Width="377px"></asp:TextBox>
                    </td>
                </tr>
                <tr class="td2">
                    <td>
                        Personal a cargo:</td>
                    <td style="text-align: left">
                        <asp:DropDownList ID="PersonalCargo" runat="server">
                            <asp:ListItem>Si</asp:ListItem>
                            <asp:ListItem>No</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <td style="text-align: left">
                        <asp:TextBox ID="CantidadPersonal" runat="server"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td>
                        Lugar de trabajo</td>
                    <td style="text-align: left">
                        <asp:TextBox ID="LugardeTrabajo" runat="server"></asp:TextBox>
                    </td>
                    <td style="text-align: right">
                        Colonia</td>
                    <td style="text-align: left">
                        <asp:TextBox ID="Colonia" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr class="td2">
                    <td>
                        Entre calles</td>
                    <td colspan="3" style="text-align: left">
                        <asp:TextBox ID="EntreCalles" runat="server" Width="377px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        observaciones:</td>
                    <td colspan="3" style="text-align: left">
                        <asp:TextBox ID="Observaciones" runat="server" Width="377px"></asp:TextBox>
                    </td>
                </tr>
                <tr class="td2">
                    <td>
                        Horario entrevistas:</td>
                    <td colspan="3" style="text-align: left">
                        <asp:TextBox ID="Horarios" runat="server"></asp:TextBox>
                    </td>
                </tr>
            </table>
        
        </div>
        <!--tab_content end-->
         <!--tab_content end-->
        <div id="tab3" class="tab_content">
            <table style="width: 700px">
                <tr>
                    <td>
                        Rango Salario</td>
                    <td>
                        <asp:TextBox ID="SalarioMinimo" runat="server"></asp:TextBox>
                    </td>
                    <td>
                        <asp:TextBox ID="SalarioMaximo" runat="server"></asp:TextBox>
                    </td>
                    <td colspan="3" style="text-align: left">
                        <asp:TextBox ID="ObservacionesSalario" runat="server" Width="300px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        Periodo Salario</td>
                    <td>
                        <asp:DropDownList ID="PeriodoSalario" runat="server">
                            <asp:ListItem>Semanal</asp:ListItem>
                            <asp:ListItem>Quincenal</asp:ListItem>
                            <asp:ListItem>Mensual</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <td style="text-align: right">
                        Tipo Moneda</td>
                    <td colspan="3" style="text-align: left">
                        <asp:DropDownList ID="TipoMoneda" runat="server">
                            <asp:ListItem>Pesos</asp:ListItem>
                            <asp:ListItem>Dólares</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr class="td2">
                    <td>
                        Vales</td>
                    <td colspan="3">
                        <asp:GridView ID="grdDatos" runat="server" CellPadding="4" 
                            GridLines="None" AutoGenerateColumns="False" ForeColor="#333333">
                            <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                            <Columns>
                                <asp:BoundField DataField="Concepto" HeaderText="Concepto" 
                                    SortExpression="Concepto" >
                                <HeaderStyle Font-Size="XX-Small" />
                                </asp:BoundField>
                                <asp:BoundField DataField="Cantidad" HeaderText="Importe" 
                                    SortExpression="Cantidad" >
                                <HeaderStyle Font-Size="XX-Small" />
                                </asp:BoundField>
                                <asp:BoundField DataField="Periocidad" HeaderText="Periodicidad" 
                                    SortExpression="Periocidad" >
                                <HeaderStyle Font-Size="XX-Small" />
                                </asp:BoundField>
                            </Columns>
                            <EditRowStyle BackColor="#999999" />
                            <FooterStyle BackColor="#5D7B9D" ForeColor="White" Font-Bold="True" />
                            <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                            <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                            <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                            <SortedAscendingCellStyle BackColor="#E9E7E2" />
                            <SortedAscendingHeaderStyle BackColor="#506C8C" />
                            <SortedDescendingCellStyle BackColor="#FFFDF8" />
                            <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
                        </asp:GridView>
                    </td>
                    <td>
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td>
                        Bonos</td>
                    <td colspan="3">
                        <asp:GridView ID="grdDatos2" runat="server" CellPadding="4" 
                            GridLines="None" AutoGenerateColumns="False" ForeColor="#333333">
                            <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                            <Columns>
                                <asp:BoundField DataField="Concepto" HeaderText="Concepto" 
                                    SortExpression="Concepto" >
                                <HeaderStyle Font-Size="XX-Small" />
                                </asp:BoundField>
                                <asp:BoundField DataField="Cantidad" HeaderText="Importe" 
                                    SortExpression="Cantidad" >
                                <HeaderStyle Font-Size="XX-Small" />
                                </asp:BoundField>
                                <asp:BoundField DataField="periocidad" HeaderText="Periodicidad" 
                                    SortExpression="periocidad" >
                                <HeaderStyle Font-Size="XX-Small" />
                                </asp:BoundField>
                            </Columns>
                            <EditRowStyle BackColor="#999999" />
                            <FooterStyle BackColor="#5D7B9D" ForeColor="White" Font-Bold="True" />
                            <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                            <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                            <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                            <SortedAscendingCellStyle BackColor="#E9E7E2" />
                            <SortedAscendingHeaderStyle BackColor="#506C8C" />
                            <SortedDescendingCellStyle BackColor="#FFFDF8" />
                            <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
                        </asp:GridView>
                    </td>
                    <td>
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr class="td2">
                    <td>
                        Transporte</td>
                    <td>
                        <asp:DropDownList ID="Transporte" runat="server">
                            <asp:ListItem>Si</asp:ListItem>
                            <asp:ListItem>No</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <td style="text-align: right">
                        Comedor</td>
                    <td>
                        <asp:DropDownList ID="Comedor" runat="server">
                            <asp:ListItem>si</asp:ListItem>
                            <asp:ListItem>no</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <td>
                        Prestaciones</td>
                    <td>
                        <asp:TextBox ID="Prestaciones" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" style="text-align: right">
                        Tipo de Contrato</td>
                    <td>
                        <asp:DropDownList ID="TipoContrato" runat="server">
                        </asp:DropDownList>
                    </td>
                    <td>
                        &nbsp;</td>
                    <td>
                        Vigencia:</td>
                    <td>
                        <asp:DropDownList ID="VigenciaContrato" runat="server">
                            <asp:ListItem>3 meses</asp:ListItem>
                            <asp:ListItem>6 meses</asp:ListItem>
                            <asp:ListItem>9 meses</asp:ListItem>
                            <asp:ListItem>12 meses</asp:ListItem>
                            <asp:ListItem>Indefinido</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
            </table>
        </div>
        <!--tab_content end-->
         <!--tab_content end-->
        <div id="tab4" class="tab_content">
            <table style="width: 100%">
                <tr>
                    <td>
                        <asp:GridView ID="Preseleccionados" runat="server" CellPadding="4" 
                            GridLines="None" AutoGenerateColumns = "False" ForeColor="#333333">
                            <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                            <Columns>
                                <asp:BoundField DataField="Nombre" HeaderText="Nombre" 
                                    SortExpression="Nombre" >
                                <HeaderStyle Font-Size="XX-Small" />
                                </asp:BoundField>
                                <asp:BoundField DataField="Paterno" HeaderText="Paterno" 
                                    SortExpression="Paterno" >
                                <FooterStyle Font-Size="XX-Small" />
                                <HeaderStyle Font-Size="XX-Small" />
                                </asp:BoundField>
                                <asp:BoundField DataField="Materno" HeaderText="Materno" 
                                    SortExpression="Materno" >
                                <HeaderStyle Font-Size="XX-Small" />
                                </asp:BoundField>
                                <asp:BoundField DataField="PuestoSolicitado" HeaderText="Puesto" 
                                    SortExpression="PuestoSolicitado" >
                                <FooterStyle Font-Size="XX-Small" />
                                <HeaderStyle Font-Size="XX-Small" />
                                </asp:BoundField>
                                <asp:BoundField DataField="SueldoMensualDeseado" HeaderText="Sueldo Deseado" 
                                    SortExpression="SueldoMensualDeseado" >
                                <FooterStyle Font-Size="XX-Small" />
                                <HeaderStyle Font-Size="XX-Small" />
                                </asp:BoundField>
                                <asp:BoundField DataField="TieneExperiencia" HeaderText="Experiencia" 
                                    SortExpression="TieneExperiencia" >
                                <HeaderStyle Font-Size="XX-Small" />
                                </asp:BoundField>
                                <asp:BoundField DataField="EscolaridadMaxima" HeaderText="Escolaridad Máxima" 
                                    SortExpression="EscolaridadMaxima" >
                                <HeaderStyle Font-Size="XX-Small" />
                                </asp:BoundField>
                                <asp:BoundField DataField="TrabajoEnCosea" HeaderText="Trabajó COSEA" 
                                    SortExpression="TrabajoEnCosea" >
                                <HeaderStyle Font-Size="XX-Small" />
                                </asp:BoundField>
                                <asp:BoundField DataField="Puntaje" HeaderText="Rating" 
                                    SortExpression="Puntaje" >
                                <HeaderStyle Font-Size="XX-Small" />
                                </asp:BoundField>
                            </Columns>
                            <EditRowStyle BackColor="#999999" />
                            <FooterStyle BackColor="#5D7B9D" ForeColor="White" Font-Bold="True" />
                            <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                            <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                            <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                            <SortedAscendingCellStyle BackColor="#E9E7E2" />
                            <SortedAscendingHeaderStyle BackColor="#506C8C" />
                            <SortedDescendingCellStyle BackColor="#FFFDF8" />
                            <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
                        </asp:GridView>
                    </td>
                </tr>
            </table>
        </div>
        <!--tab_content end-->
         <!--tab_content end-->
        <div id="tab5" class="tab_content">
            <table style="width: 700px">
                <tr>
                    <td>
                        &nbsp;</td>
                    <td style="text-align: left">
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr class="td2">
                    <td>
                        &nbsp;</td>
                    <td style="text-align: right">
                        Faltan por Preseleccionar:</td>
                    <td style="text-align: left">
                        <asp:TextBox ID="FaltaPreseleccionar" runat="server"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td>
                        &nbsp;</td>
                    <td style="text-align: right">
                        Asignado a:</td>
                    <td style="text-align: left">
                        <asp:DropDownList ID="Empresa2" runat="server">
                        </asp:DropDownList>
                    </td>
                    <td style="text-align: left">
                        <asp:Button ID="BtnAsigna" runat="server" Text="Reasignar" 
                            />
                    </td>
                </tr>
                <tr class="td2">
                    <td>
                        &nbsp;</td>
                    <td style="text-align: right">
                        Autorizado por :</td>
                    <td style="text-align: left">
                        <asp:TextBox ID="autorizado" runat="server"></asp:TextBox>
                    </td>
                    <td style="text-align: left">
                        <asp:Button ID="btnAutorizar" runat="server" Text="Autorizar" />
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;</td>
                    <td style="text-align: right">
                        Cancelado por:</td>
                    <td style="text-align: left">
                        <asp:TextBox ID="TextBox40" runat="server"></asp:TextBox>
                    </td>
                    <td style="text-align: left">
                        <asp:Button ID="btnCancelar" runat="server" Text="Cancelar" />
                    </td>
                </tr>
                <tr>
                    <td class="td2">
                        &nbsp;</td>
                    <td style="text-align: right">
                        Cerrar Orden</td>
                    <td style="text-align: left">
                        <asp:Label ID="BtnCerrar" runat="server" Text="Cerrar" 
                            style="text-align: center"></asp:Label>
                    </td>
                    <td>
                        &nbsp;</td>
                </tr>
            </table>
        </div>
        <!--tab_content end-->
         <!--tab_content end-->
        <div id="tab6" class="tab_content">
            <table style="width: 700px">
                <tr>
                    <td colspan="2">
                        <table style="width: 100%">
                            <tr>
                                <td style="text-align: right">
                                    Estado de la orden:</td>
                                <td style="text-align: left">
                                    <asp:DropDownList ID="EstadoOrden" runat="server">
                                    </asp:DropDownList>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    &nbsp;</td>
                                <td>
                                    &nbsp;</td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtComentariosEstado" runat="server" Rows="2" TextMode="MultiLine" 
                            Width="560px"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td colspan="2">
                        <asp:GridView ID="grdHistoriaOrdenServicio"  runat="server" CellPadding="3" 
                            GridLines="Horizontal" AutoGenerateColumns = "False" BackColor="White" 
                            BorderColor="#E7E7FF" BorderStyle="None" BorderWidth="1px">
                            <AlternatingRowStyle BackColor="#F7F7F7" />
                            <Columns>
                                <asp:BoundField DataField="IdEstado" HeaderText="No. " 
                                    SortExpression="IdEstado" >
                                <HeaderStyle Font-Size="XX-Small" />
                                </asp:BoundField>
                                <asp:BoundField DataField="Descripcion" HeaderText="Descripcion Estado" 
                                    SortExpression="Descripcion" >
                                <HeaderStyle Font-Size="XX-Small" />
                                </asp:BoundField>
                                <asp:BoundField DataField="Comentario" HeaderText="Blog" 
                                    SortExpression="Comentario" >
                                <HeaderStyle Font-Size="XX-Small" />
                                </asp:BoundField>
                                <asp:BoundField DataField="Fecha" HeaderText="Fecha" 
                                    SortExpression="Fecha" >
                                <HeaderStyle Font-Size="XX-Small" />
                                </asp:BoundField>
                            </Columns>
                            <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
                            <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
                            <PagerStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" HorizontalAlign="Right" />
                            <RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />
                            <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
                            <SortedAscendingCellStyle BackColor="#F4F4FD" />
                            <SortedAscendingHeaderStyle BackColor="#5A4C9D" />
                            <SortedDescendingCellStyle BackColor="#D8D8F0" />
                            <SortedDescendingHeaderStyle BackColor="#3E3277" />
                        </asp:GridView>
                    </td>
                </tr>
            </table>
        </div>
        <!--tab_content end-->
                <div id="tab7" class="tab_content">
            <table style="width: 700px">
               
                <tr>
                    <td>
                        <asp:GridView ID="GridView5" runat="server" Width="509px" CellPadding="4" 
                            GridLines="None" AutoGenerateColumns="False" ForeColor="#333333">
                            <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                            <Columns>
                                <asp:CheckBoxField HeaderText="Preseleccionar" >
                                <HeaderStyle Font-Size="XX-Small" />
                                </asp:CheckBoxField>
                                <asp:CommandField ShowSelectButton="True" />
                                <asp:BoundField DataField="Nombre" HeaderText="Nombre" 
                                    SortExpression="Nombre" >
                                <HeaderStyle Font-Size="XX-Small" />
                                </asp:BoundField>
                                <asp:BoundField DataField="Paterno" HeaderText="Paterno" 
                                    SortExpression="Paterno" >
                                <HeaderStyle Font-Size="XX-Small" />
                                </asp:BoundField>
                                <asp:BoundField DataField="Materno" HeaderText="Materno" 
                                    SortExpression="Materno" >
                                <HeaderStyle Font-Size="XX-Small" />
                                </asp:BoundField>
                                <asp:BoundField DataField="Escolaridad" HeaderText="Escolaridad" 
                                    SortExpression="Escolaridad" >
                                <HeaderStyle Font-Size="XX-Small" />
                                </asp:BoundField>
                                <asp:BoundField DataField="Experiencia" HeaderText="Experiencia" 
                                    SortExpression="Experiencia" >
                                <HeaderStyle Font-Size="XX-Small" />
                                </asp:BoundField>
                                <asp:BoundField DataField="TrabajoCosea" HeaderText="Trabajo Cosea" 
                                    SortExpression="TrabajoCosea" >
                                <HeaderStyle Font-Size="XX-Small" />
                                </asp:BoundField>
                                <asp:BoundField DataField="Rating" HeaderText="Rating" 
                                    SortExpression="Rating" >
                                <HeaderStyle Font-Size="XX-Small" />
                                </asp:BoundField>
                            </Columns>
                            <EditRowStyle BackColor="#999999" />
                            <FooterStyle BackColor="#5D7B9D" ForeColor="White" Font-Bold="True" />
                            <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                            <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                            <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                            <SortedAscendingCellStyle BackColor="#E9E7E2" />
                            <SortedAscendingHeaderStyle BackColor="#506C8C" />
                            <SortedDescendingCellStyle BackColor="#FFFDF8" />
                            <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
                        </asp:GridView>
                    </td>
                    <td>
                        &nbsp;</td>
                </tr>
               
                <tr>
                    <td>
                        Preseleccionados:<asp:ListBox ID="ListaPreseleccionados" runat="server" 
                            Height="125px" Width="168px">
                        </asp:ListBox>
                        <asp:Button ID="btnPreselecionar" runat="server" Text="Confirmar" />
                    </td>
                    <td>
                        &nbsp;</td>
                </tr>
               
                <tr>
                    <asp:Button ID="Button1" runat="server" Text="Actualizar Orden" /> </tr>
            </table>
        </div>
        <!--tab_content end-->
         <tr><td>
                    <asp:Button ID="btnActualizar" runat="server" Text="Actualizar Datos de Orden" 
                        onclick="btnActualizar_Click" /> </td>
                </tr>
    </table>
 </form>

</asp:Content>

